Initiates an image transcoder sequence operation.
pascal OSErr ImageTranscodeSequenceBegin (
ImageTranscodeSequence *its,
ImageDescriptionHandle srcDesc,
OSType destType,
ImageDescriptionHandle *dstDesc
void *data,
long dataSize);
This function begins an image transcoder sequence operation and returns the sequence identifier in the its parameter. The caller is responsible for disposing of the image description that is returned in the dstDesc parameter. If no transcoder is available to perform the requested transcoding operation, a handlerNotFound error is returned.
Transcodes a frame of image data.
pascal OSErr ImageTranscodeFrame (
ImageTranscodeSequence its,
void *srcData,
long srcDataSize,
void **dstData,
long *dstDataSize);
Disposes transcoded image data.
pascal OSErr ImageTranscodeDisposeFrameData(
ImageTranscodeSequence its,
void *dstData)
Ends an image transcoder sequence operation.
The only parameter to ImageTranscodeSequenceEnd is the identifier of the image transcoder sequence to dispose. It is safe to pass a value of 0 to this routine.
pascal OSErr ImageTranscodeSequenceEnd (ImageTranscodeSequence its)
| Previous | Chapter Contents | Chapter Top | Next |